package com.xqc.test;

import com.xqc.annotation.XqcComponent;
import com.xqc.aware.XqcBeanPostProcessor;

@XqcComponent
public class MyXqcBeanPostProcessor implements XqcBeanPostProcessor {
    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) {
        System.out.println("Before beanName.........."+beanName);
        return bean;
    }

    @Override
    public Object postProcessAfterInitialization(Object bean, String beanName) {
        System.out.println("After beanName.........."+beanName);

        return bean;
    }
}
